package java_objects.static_modifier;

public class Rectangle {
	int a, b;
	Rectangle(int a, int b){
		this.a = a;
		this.b = b;
	}
	
	// instance method
	int area(){
		return a * b;
	}
	
	// class method
	static int area(int a, int b){
		return a * b;
	}
}


